package cn.dylan.org.mapper;

import cn.dylan.basic.mapper.BaseMapper;
import cn.dylan.org.domain.Employee;
import cn.dylan.system.domain.Menu;

import java.util.List;


public interface EmployeeMapper extends BaseMapper<Employee> {
    void saveEmployeeRole(Employee employee);

    void removeEmployeeRoleByEmployeeId(Long id);

    List<String> getPermissionsByLogininfoId(Long id);

    List<Menu> getMenusByLogininfoId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> getShopEmployees(Long shopId);

}
